function MapComponent{
    var existingComponents = [];
    return {
        add: function(cfg[,map]){
            //add component
        },
        
        remove: function(mapComponent){
             //remove component from map
        },
        
        getAll: function(){
            //return all components of same type 
            //which currently exists within maps
        }
    }
}
